package pers.xhh.shopapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;
import java.util.Date;

/**
 * 管理员表
 * 
 * @author wei-xhh
 * @date 2020-11-22
 */
@TableName("mi_manager")
public class MiManagerEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键id
	 */
	@TableId(type = IdType.AUTO)
	private Integer mgId;
	/**
	 * 名称
	 */
	private String mgName;
	/**
	 * 密码
	 */
	@JsonIgnore
	private String mgPwd;
	/**
	 * 角色id
	 */
	private Integer roleId;
	/**
	 * 手机号
	 */
	private String mgMobile;
	/**
	 * 邮箱
	 */
	private String mgEmail;
	/**
	 * 1：表示启用 0:表示禁用
	 */
	private Integer mgState;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 修改时间
	 */
	private Date updateTime;

	public Integer getMgId() {
		return mgId;
	}

	public void setMgId(Integer mgId) {
		this.mgId = mgId;
	}

	public String getMgName() {
		return mgName;
	}

	public void setMgName(String mgName) {
		this.mgName = mgName;
	}

	public String getMgPwd() {
		return mgPwd;
	}

	public void setMgPwd(String mgPwd) {
		this.mgPwd = mgPwd;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getMgMobile() {
		return mgMobile;
	}

	public void setMgMobile(String mgMobile) {
		this.mgMobile = mgMobile;
	}

	public String getMgEmail() {
		return mgEmail;
	}

	public void setMgEmail(String mgEmail) {
		this.mgEmail = mgEmail;
	}

	public Integer getMgState() {
		return mgState;
	}

	public void setMgState(Integer mgState) {
		this.mgState = mgState;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
